<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Admin:Add Sector</title>
</head>
<body>
	<h5>
		<fmt:message key="admin_add_sector_pg_title"></fmt:message>
	</h5>
	<form:form method="post" modelAttribute="sector">
	<form:errors cssClass="error"/>
	<c:if test="${successFlag}">
		<h6><fmt:message key="successMsg"/></h6>
	</c:if>
		<table>
			<tr>
				<td>Sector Name:</td>
				<td>
					<form:input path="sectorName" />
					<form:errors path="sectorName" cssClass="error"/>
				</td>
			</tr>
		</table>
		<br class="clearfix">
		<div class="buttons">
			<button type="submit" class="positive" name="add">Add</button> 
			<button type="reset" class="regular" name="reset">Reset</button>
		</div>
	</</form:form>
</body>
</html>